<%@ page pageEncoding="UTF-8" contentType="text/html; charset=utf-8"  %>
<%
	org.languageguide.user.User user = org.languageguide.user.UserManager.getUser(session);
	String id = request.getParameter("id");
	String target = request.getParameter("target");
	org.languageguide.versioncontrol.LockingVersionControl readingVersionControl = new org.languageguide.readings.TranslatedReadingImpl(id, target);
	readingVersionControl.checkin(user);
	//if (update > 0){
		response.setContentType("text/xml");
		response.setHeader("Cache-Control", "no-cache");
		response.getWriter().write("<message>valid: yo Buddy</message>"); 
	//}
%>